package com.ymttest.business.service.productdata.bean;

public class ApplyProductBean {
	private int sellerId;
	private String sellerName;
	//交易不隔离
	private boolean hasNowActivity; 
	//交易隔离
	private boolean hasNowAnotherActivity;
	private boolean hasNowLive;
	private int futureActivityCount;
	private int futureLiveCount;
	private int preActivityCount;
	private int preLiveCount;
	
	
	
	
	
	public boolean isHasNowAnotherActivity() {
		return hasNowAnotherActivity;
	}
	public void setHasNowAnotherActivity(boolean hasNowAnotherActivity) {
		this.hasNowAnotherActivity = hasNowAnotherActivity;
	}
	public String getSellerName() {
		return sellerName;
	}
	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}
	public int getSellerId() {
		return sellerId;
	}
	public void setSellerId(int sellerId) {
		this.sellerId = sellerId;
	}
	
	
	public boolean isHasNowActivity() {
		return hasNowActivity;
	}
	public void setHasNowActivity(boolean hasNowActivity) {
		this.hasNowActivity = hasNowActivity;
	}
	public boolean isHasNowLive() {
		return hasNowLive;
	}
	public void setHasNowLive(boolean hasNowLive) {
		this.hasNowLive = hasNowLive;
	}
	public int getFutureActivityCount() {
		return futureActivityCount;
	}
	public void setFutureActivityCount(int futureActivityCount) {
		this.futureActivityCount = futureActivityCount;
	}
	public int getFutureLiveCount() {
		return futureLiveCount;
	}
	public void setFutureLiveCount(int futureLiveCount) {
		this.futureLiveCount = futureLiveCount;
	}
	public int getPreActivityCount() {
		return preActivityCount;
	}
	public void setPreActivityCount(int preActivityCount) {
		this.preActivityCount = preActivityCount;
	}
	public int getPreLiveCount() {
		return preLiveCount;
	}
	public void setPreLiveCount(int preLiveCount) {
		this.preLiveCount = preLiveCount;
	}
	
	
	private ApplyProductBean(Builder builder){
		this.sellerId = builder.sellerId;
		this.sellerName = builder.sellerName;
		this.hasNowActivity = builder.hasNowActivity;
		this.hasNowLive = builder.hasNowLive;
		this.futureActivityCount = builder.futureActivityCount;
		this.futureLiveCount = builder.futureLiveCount;
		this.preActivityCount = builder.preActivityCount;
		this.preLiveCount = builder.preLiveCount;
		this.hasNowAnotherActivity = builder.hasNowAnotherActivity;
	}
	
	public static class Builder{
		private int sellerId = 3383;
		private String sellerName = "test";
		private boolean hasNowActivity = true;
		private boolean hasNowLive = true;
		private boolean hasNowAnotherActivity = false;
		private int futureActivityCount = 0;
		private int futureLiveCount = 0;
		private int preActivityCount = 0;
		private int preLiveCount = 0;
		
		
		public Builder(int sellerId,String sellerName){
			this.sellerId = sellerId;
			this.sellerName = sellerName;
		}
		
	
		
		public Builder hasNowAnotherActivity(boolean hasNowAnotherActivity){
			this.hasNowAnotherActivity = hasNowAnotherActivity;
			return this;
		}
		
		
		public Builder hasNowActivity(boolean hasNowActivity){
			this.hasNowActivity = hasNowActivity;
			return this;
		}
		
		public Builder hasNowLive(boolean hasNowLive){
			this.hasNowLive = hasNowLive;
			return this;
		}
		
		
		public Builder futureActivityCount(int futureActivityCount){
			this.futureActivityCount = futureActivityCount;
			return this;
		}
		
		public Builder futureLiveCount(int futureLiveCount){
			this.futureLiveCount = futureLiveCount;
			return this;
		}
		
		public Builder preActivityCount(int preActivityCount){
			this.preActivityCount = preActivityCount;
			return this;
		}
		
		public Builder preLiveCount(int preLiveCount){
			this.preLiveCount = preLiveCount;
			return this;
		}
		
		public ApplyProductBean build(){
			return new ApplyProductBean(this);
		}
		
	}
	
	
	
}
